using System;
using System.Collections.Generic;
using System.Text;
using PluginHandler.Database;
using PluginHandler.Plugin;
using PluginHandler.UI;

namespace PluginHandler
{
    public class PluginHandler : IPluginHandler
    {
        private DatabaseHandler _databaseHandler;
        private PluginDetails _pluginDetails;
        private FormElements _formElements;

        public PluginHandler()
        {
            _databaseHandler = new DatabaseHandler();
            _pluginDetails = new PluginDetails();
            _formElements = new FormElements();
        }

        #region IPluginHandler Member

        public IDatabaseHandler DatabaseHandler
        {
            get 
            {
                return _databaseHandler;
            }
        }

        public IPluginDetails PluginDetails
        {
            get 
            {
                return _pluginDetails;
            }
        }

        public IFormElements FormElements
        {
            get 
            {
                return _formElements; 
            }
        }

        #endregion
    }
}
